<!-- 测试v-model组件中传递 -->
<template>
  <div class="test_vModel">
    <el-input :value="value" placeholder="请输入内容" @input="handleInput"></el-input>
  </div>
</template>

<script>
export default {
  props: {
    value: String
  },
  data() {
    return {}
  },
  computed: {
    
  },
  methods: {
    handleInput(value) {
      this.$emit('input',value)
    }
  }
}
</script>

<style lang="scss" scoped>

</style>